package com.server.entity.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: TODO excel
 * @Author: mis_wu
 * @Date: 2022/6/29
 **/
@Data
public class ExcelDto implements Serializable {

    /**
     * 设置表头名称
     * value : 名称
     * index：导入时使用表头顺序
     */
    @ExcelProperty(value = "人员编号",index = 0)
    private Long id;

    @ExcelProperty(value = "姓名",index = 1)
    private String name;

    @ExcelProperty(value = "年龄",index = 2)
    private Integer age;

    private Date date;
}
